<?php $this->load->view("_inc/header"); ?>
<script>
    $(document).ready(function(){
        $("#registro").validate();
    });
</script>

<?=form_open('usuario/registrar', 'id="registro"');?>
    <label>Nome:</label>
    <?=form_input('nome', '', 'class="required" minlength="10"');?><br />
    <label>Email:</label>
    <?=form_input('email', '', 'class = "required email"');?><br />
    <label>Senha:</label>
    <?=form_password('senha', '', 'class="required" minlength="7"');?><br />
    <label>Time do Coração:</label>
    <?=form_dropdown('time', $times, '', 'class="required"');?><br />
    <?=form_submit('', 'Registrar');?>
<?=form_close()?>
